import ajax from '@/api/apiConfig.js'

/* 获取多单位日常巡检 */
export const getHiddenStatusByOrgIds = (data) => {
  return ajax.get('hiddenDanger/getHiddenStatusByOrgIds', data)
}

/* 获取隐患详情 */
export const getHiddenDanger = (data) => {
  return ajax.get('hiddenDanger/getHiddenDanger', data)
}

/* 单位报警数量 */
export const getOrgAlarmCount = (data) => {
  return ajax.get('hiddenDanger/getTopRecords', data)
}
